xen/arm: move GIC context data structure to gic driver
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Tue, 1 Jul 2014 06:41:12 +0000 (12:11 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 2 Jul 2014 11:27:06 +0000 (12:27 +0100)
commitbd982d7381d215106a1e3dc5d302666b4cd53ef7
tree994a9189a8cc5d7f15e2d50da4674454b5d095b1
parentee65c871ea16ca0e242df7fadebd53ac05dd2e91
xen/arm: move GIC context data structure to gic driver

arch_domain in domain.h defines all the GIC registers
that needs to be saved/restored directly.

These GIC registers are GIC HW version specific. The number
of registers and size of registers varies with GIC version.
So move these registers to gic.h file and make a union of these
registers. This helps to define GIC HW version specific
structure to this union for later GIC versions.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/gic-v2.c
xen/include/asm-arm/domain.h
xen/include/asm-arm/gic.h